package com.zc.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zc.dao.ZcInoutMapper;
import com.zc.po.ZcInout;
import com.zc.service.ZcInoutService;

@Service
public class ZcInoutServiceImpl implements ZcInoutService {
	@Autowired
	private ZcInoutMapper zcInoutMapper;

	@Override
	public List<ZcInout> selectAll2(String zcId) {
		List<ZcInout> list = zcInoutMapper.selectAll2(zcId);
		return list;
	}

	@Override
	public List<ZcInout> selectAll1() {
		List<ZcInout> list = zcInoutMapper.selectAll1();
		return list;
	}

	@Override
	public void updateByPrimaryKeySelective(ZcInout zcio) {
		zcInoutMapper.updateByPrimaryKeySelective(zcio);
		
	}

	@Override
	public void insertSelective(ZcInout zcio) {
		zcInoutMapper.insertSelective(zcio);
		
	}

	@Override
	public ZcInout selectByzc(String zcId) {
		ZcInout zcInout = zcInoutMapper.selectByzc(zcId);
		return zcInout;
	}

	@Override
	public List<ZcInout> selectAll(String code) {
		List<ZcInout> list = zcInoutMapper.selectAll(code);
		return list;
	}
}
